<?php
class MessageController extends Zend_Controller_Action
{
	public function indexAction()
	{
		require 'dropr/server/classes/autoload.php';

		$server = dropr_Server_Transport_Abstract::factory(
			'HttpUpload',
			dropr_Server_Storage_Abstract::factory('filesystem', realpath('../data/droprserver'))
		);
		
		$server->handle();
    }
}
